package com.lianheng.cms.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author yufeng
 * 通用搜索类
 **/
@Getter
@Setter
public class BaseSearchDto implements Serializable {
    @ApiModelProperty(value = "开始时间yyyy-MM-dd", dataType = "String")
    private String startTime;
    @ApiModelProperty(value = "结束时间", dataType = "String")
    private String endTime;
    @ApiModelProperty(value = "页码", example = "1", required = true, dataType = "int")
    private Integer pageNumber = 1;
    @ApiModelProperty(value = "每页记录数", example = "20", required = true, dataType = "int")
    private Integer pageSize = 20;
}
